﻿using AutoMapper;
using B.S.BaseData.Domain.Base;
using B.S.BaseData.Domain.RBAC;
using B.S.BaseData.ReadAPI.DTOs.ResponseDto;

namespace B.S.BaseData.ReadAPI.Utils
{
	public class MappingProfile:Profile
	{
        //映射规则
        public MappingProfile()
        {
            CreateMap<UserInfo,UserDTO>().ReverseMap();
            CreateMap<Department,DepartmentDTO>().ReverseMap();
        }
    }
}
